import db from "./db";
import Config from './../config/config';
export async  function getTables(){    
    let sql  = `select * from information_schema.tables where table_schema='${Config.mysql.dataBase}' and table_name like '${Config.mysql.tableRex}' `;     
    let rsData = await db.query(sql);  
    return rsData;
};